#ifndef CINPUTSYSTEMSDL_H_INCLUDED
#define CINPUTSYSTEMSDL_H_INCLUDED

#include "IInputSystem.h"
#include <SDL/SDL.h>

/// The Input Access Interface Realized with SDL
class CInputSystemSDL : public IInputSystem {
friend class IInputSystem;
protected:
	byte*	m_MouseState;		///< Mouse buttons
	byte*	m_KeyboardState;	///< Keyboard buttons

public:
	// Public functions:
	bool Bind( handle hwnd );
	bool Initialize( );
	void Update( creal &gameTime );

	byte IsMouseButtonDownDirect		( uint button );
	byte IsKeyboardButtonDownDirect	( uint button );

	 // C&D
	 CInputSystemSDL();
	~CInputSystemSDL();
};

#endif // CINPUTSYSTEMSDL_H_INCLUDED
